#define _CRT_SECURE_NO_WARNINGS
#include <stdio.h>
#include <string.h>
#include <assert.h>

#define MAX 100
#define NAME_MAX 20
#define SEX_MAX 5
#define ADDR_MAX 30
#define TELE_MAX 12

typedef struct PeopInfo 
{
	char name[NAME_MAX];
	int age;
	char sex[SEX_MAX];
	char addr[ADDR_MAX];
	char tele[TELE_MAX];
}people;

typedef struct Contact
{
	people date[MAX];
	int sz;
}contact;

void Initcontact(contact* pc);

void Addcontact(contact* pc);

void Showcontact(const contact* pc);

void Delcontact(contact* pc);

void Searchcontact(const contact* pc);

void Modifycontact(contact* pc);